/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package xmlparsing;

import Parallel.Node;
import Parallel.Parser;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author zwirek
 */
public class MainParallel {
    public static void main(String[] args) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new MainParallel().run();
            }
        });
    }

    private void run() {
//        try {
////            long time0 = System.currentTimeMillis();
//            Parser p = new Parser("exm2.xml", 2);
////            double time1 = (System.currentTimeMillis()-time0)/1000.0;
////            System.out.println("Parsowanie równoległe zajęło "+time1+"s");
//        } catch (IOException ex) {
//            Logger.getLogger(MainParallel.class.getName()).log(Level.SEVERE, null, ex);
//        } catch (Exception ex) {
//            Logger.getLogger(MainParallel.class.getName()).log(Level.SEVERE, null, ex);
//        }
    }

}
